<template>
  <div>

    <template v-if="$app.judgeData(orderInfo) && $app.judgeData(orLiInfo)">

      <template v-if="$app.judgeData(his_list)||$app.judgeData(his_pay)">
        <Card class="marginB10">
          <His_pay :orderInfo="orderInfo" :his_pay="his_pay" />
          <His_list :orderInfo="orderInfo" :orLiInfo="orLiInfo" :his_list="his_list" />
        </Card>
      </template>

    </template>
  </div>
</template>



<script>
import His_list from "./his_list";
import His_pay from "./his_pay";

//all 通知书 js
import $notice_pay from "@$@/js/$common/tongZhiShu";
export default {
  name: "his_list_pay",
  components: {His_list,His_pay},
  props: ["orderInfo", "orLiInfo"],
  data() {

    let data = {
      his_list:[],//办登通知书
      his_pay:[],//历史缴费通知
    };
    let tool = {
    };
    return Object.assign(data, tool);
  },
  watch: {
    orderInfo(newVal,oldVal){
    }
  },
  mounted() {
    let {
      orderInfo,
      orderInfo:{ 
        state,
        note,
      }
    } = this;
      this.his_list=$notice_pay.his_list(state,note);
      console.log('办登通知书列表 = ',this.his_list.length);
      this.his_pay=$notice_pay.his_pay(orderInfo);
      console.log('缴费记录 = ',this.his_pay);
  },
  methods: {}
};
</script>

